<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the request host</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventhttprequest.getconnection.html">EventHttpRequest::getConnection</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eventhttprequest.getinputbuffer.html">EventHttpRequest::getInputBuffer</a></div>
 <div class="up"><a href="class.eventhttprequest.html">EventHttpRequest</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="eventhttprequest.gethost" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventHttpRequest::getHost</h1>
  <p class="verinfo">(PECL event &gt;= 1.4.0-beta)</p><p class="refpurpose"><span class="refname">EventHttpRequest::getHost</span> &mdash; <span class="dc-title">Returns the request host</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventhttprequest.gethost-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="type">string</span> 
   <span class="methodname"><strong>EventHttpRequest::getHost</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Returns the request host.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventhttprequest.gethost-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventhttprequest.gethost-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the request host.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-eventhttprequest.gethost-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member">
    <span class="methodname"><a href="eventhttprequest.geturi.html" class="methodname" rel="rdfs-seeAlso">EventHttpRequest::getUri()</a> - Returns the request URI</span>
   </li>
   <li class="member">
    <span class="methodname"><a href="eventhttprequest.getcommand.html" class="methodname" rel="rdfs-seeAlso">EventHttpRequest::getCommand()</a> - Returns the request command(method)</span>
   </li>
  </ul>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventhttprequest.getconnection.html">EventHttpRequest::getConnection</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="eventhttprequest.getinputbuffer.html">EventHttpRequest::getInputBuffer</a></div>
 <div class="up"><a href="class.eventhttprequest.html">EventHttpRequest</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
